import request from '../utils/request'
// 添加购物车接口
export function addCartApi(data){
  return request("/ljf/shopping-cart/add","post",data)
}
// 获取购物车列表接口
export function getCartList(token){
  return request("/ljf/shopping-cart/info","get",{token:token})
}
// 单个选中购物车商品
export function selCart(key,selected){
  return request("/ljf/shopping-cart/select","post",{key:key,selected:selected,token:wx.getStorageSync("token")})
}
// 修改购物车商品数量接口
export function editNum(key,number){
  return request("/ljf/shopping-cart/modifyNumber","post",{number:number,key:key,token:wx.getStorageSync("token")})
}
// 删除购物车数据
export function delCartApi(key){
  return request("/ljf/shopping-cart/remove","post",{key:key,token:wx.getStorageSync("token")})
}
// 获取结算页数据


